package com.um.jdy.common.charge.entity.vo;

import com.um.springboot.starter.orm.entity.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 押金订单表
 *
 * @TableName member_recharge_order
 */
@Data
public class DepositOrderVO extends BaseVO {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    protected String chargeDepositOrderId;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    protected String comId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    protected String chargeOrderId;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单ID")
    protected String orderNo;

    /**
     * 微信或支付宝交易号
     */
    @ApiModelProperty(value = "微信或支付宝交易号")
    protected String outTradeNo;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    protected String memberUserId;

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    protected String code;

    /**
     * 押金金额(分)
     */
    @ApiModelProperty(value = "押金金额")
    protected Integer amount;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    protected Date createTime;

    @ApiModelProperty(value = "信用分状态")
    private String payScoreStatus;

    @ApiModelProperty(value = "信用类型")
    private String creditType;

    /**
     * 支付状态，UnPayed-未支付，Payed-已支付
     */
    @ApiModelProperty(value = "支付状态，UnPayed-未支付，Payed-已支付")
    protected String payStatus;

    /**
     * 支付方式 Wxpay-微信支付 Alipay-支付宝支付
     */
    @ApiModelProperty(value = "支付方式 Wxpay-微信支付 Alipay-支付宝支付")
    protected String payWay;

    /**
     * 支付时间
     */
    @ApiModelProperty(value = "支付时间")
    protected Date payTime;

    /**
     * 押金是否自动退回
     */
    @ApiModelProperty(value = "押金是否自动退回")
    protected String autoReturn;

    /**
     * 支付订单金额(分)
     */
    @ApiModelProperty(value = "支付订单金额(分)")
    protected Integer payOrderAmount;

    /**
     * 退还押金金额(分)
     */
    @ApiModelProperty(value = "退还押金金额(分)")
    protected Integer returnAmount;

    /**
     * 是否退款 No-未退款 Yes-已退款
     */
    @ApiModelProperty(value = "是否退款 No-未退款 Yes-已退款")
    protected String returnStatus;

    /**
     * 退款时间
     */
    @ApiModelProperty(value = "退款时间")
    protected Date returnTime;

}
